Numerically modeling inductive circuit elements

ABSTRACT

A method of determining electrical parameters of inductive elements includes a novel technique of inverting an impedance matrix representative of said inductive circuit element. The method reduces model simulation time by a factor of 3000. In one embodiment, simulation time of a device model was reduced from 1 hour to less than 3 seconds. The method is suitable for use with circuit element modeling tools, circuit simulation environments, and antenna modeling systems. The method may be applied to inductors, transformers, antennas, etc.

FIELD OF THE INVENTION

[0001] This invention generally relates to modeling or analyzing electrical circuit elements such as inductors and/or transformers so that their electrical characteristics and/or equivalent circuit parameters may be determined. The invention herein also relates to simulating the performance of electronic circuits incorporating such elements. Further, the invention relates to modeling inductors and/or transformers using a computer aided design system to facilitate design of practical elements and electronic circuits.

BACKGROUND OF THE INVENTION

[0002] Software tools for electrical engineering use may be grouped into categories according to function. Two categories are 1) circuit element modeling tools and 2) circuit design and simulation tools. Circuit element modeling tools are used to characterize a particular circuit element and create a software model for subsequent use in a circuit design and simulation program.

[0003] A model is a mathematical representation (or other type of representation) of a real world physical device (RWPD) that predicts the behavior of the real world physical device when provided with a controlled set of inputs.

[0004] Two types of models used in engineering are analytical models and numerical models. Analytical models are mathematical representations of RWPDs where a limited set of equations are used to represent a RWPD. Numerical models generally attempt to represent RWPDs by solving a more fundamental, or more physical set of equations. This often requires the solution of a large set of simultaneous equations which are restatements of a fundamental equation at different spatial or time coordinates. It will be sufficient to define a numerical model as one that requires the solution of many simultaneous equations, many more than analytical models use.

[0005] Modeling is the process of creating a model that is representative of the structure, behavior, operation, or other property of a real world physical device. Models may have other models as components, e.g. circuit models may have circuit element models.

[0006] Modeling tools use a variety of techniques to arrive at a model for a particular element, often called a device model. For example, an inductor can be modeled using commercially available software that provides a user with element parameters such as inductance and resistance for a particular geometry of the element. The modeling software can also provide element parameters over frequency in a variety of graphic or tabular formats.

[0007] Once a model is created for a circuit element, a circuit designer uses the device model in a circuit design and simulation tool, where the model is combined with other circuit element models (other device models) to form a complete circuit model. The complete circuit is then simulated using the simulation tool. The simulation tool provides a designer with circuit performance data.

[0008] Circuit designers need access to fast circuit design/simulation tools due to the iterative nature of the design process and short design cycles. Current circuit simulations often take hours or more to run. However, the preprocessing stage for the individual components, or RWPDs, usually takes much less time because less accurate analytic models are used in the interest of saving time. The time spent preprocessing is important, as this is time that the circuit designer must sit and wait at his/her terminal. To compete, the more accurate, and hence more desirable, numerical models must take no more than mere seconds, or occasionally, minutes to run. A variety of closed-form analytic models for on-chip inductors (spiral, square, etc.) can be found for the inductance, series resistance, capacitances and substrate coupling of the inductors. Since these models are only approximate models, they must be fitted (tuned) to correlate with measured data of the RWPD that spans the entire design space (the range of design variables used in the model) in order to validate and verify the model.

[0009] Model validation/verification is essentially the process of determining the degree of similarity between the model and the RWPD via comparison of measurements of the RWPD with simulation results to the same set of known(and controlled) inputs.

[0010] Factors contributing to the difficulty of this tuning process include a large variety of device types for a given circuit element (for example, inductive elements include inductors, center-tapped inductors, transformers, baluns, etc.), a broad range of parameters (design space), and widely varying process technologies. For example, in order to maximize the quality factor Q, of an inductor, the conductor line width (w) and thickness (t) become so large, one cannot make the assumption that the current density in the conductor is uniform. This non-uniform current density,(partly due to skin and/or proximity phenomena), has the effect of lowering the inductance of an inductive element by a small but often significant amount, especially in high frequency applications. Further, the non-uniform current density also has the effect of increasing the AC resistance of the inductive element. All these parameters, w, t, Q, inductance, current density, AC resistance, and more, exacerbate the modeling/tuning process.

[0011] A model created for predicting the characteristics of a circuit element should be as accurate as possible (robust). If a circuit element is not properly modeled, and a circuit is designed using that model, the circuit may not meet specifications, or perhaps, not function at all.

[0012] To further tax the robustness of analytic models, technologies using two layers of thick metal for inductors and transformers are now being considered. For example, the skin effect in a two layer, thick-metal process is more complex to model because the current in each layer will tend to crowd toward only one surface (the surface farthest from the other layer) instead of both top and bottom surfaces as in a single-layer-thick-metal process.

[0013] One motivation for desiring to employ numerical models in circuit simulation and circuit element characterization is the high level of robustness and accuracy over the entire design space that can be achieved, which is often within about 1%.

[0014] However, it is well known that numerical modeling of circuits and/or circuit elements is too slow to be of practical use in a circuit design environment. In fact, a detailed numerical model of a circuit element takes a computer many hours to obtain a solution. Long solution times are often the result of having to solve a large matrix equation. Further, many matrix operations, such as inverting a large matrix, take a very long time for even a computer to perform. Very powerful, fast computers are available to perform such calculations at a quicker pace, but they are prohibitively expensive to put on every circuit designer's desk, or even to put one in every design center.

SUMMARY OF THE INVENTION

[0015] To solve the aforementioned problems and others, it is desirable to have an accurate numerical model for inductive circuit elements contained within a circuit design environment such that it is fast enough that the circuit simulation setup time is not significantly increased, or preferably, not increased at all.

[0016] Embodiments of the invention herein include numerical modeling methods that reduces prior art device model simulation time by as much as a factor of about 3000 when simulating inductive circuit elements. Accuracies of about 1% may be achieved in as little time as about a second for a single frequency point using embodiments of the present invention.

[0017] One concept of embodiments of the present invention herein, is the applicant's recognition that the impedance matrix for an inductive circuit element has certain unique characteristics that in turn allow Strassen's method of inverting a matrix to be applied to the impedance matrix for an inductive element.

[0018] Further, Strassen's method to invert a matrix is modified such that not all of Strassen's steps need be performed to successfully invert the impedance matrix for an inductive circuit element, including, but not limited to, circular and square spiral inductors.

[0019] Another concept of the inventive method herein is to recognize that the geometry of some inductive elements are highly symmetric about a horizontal plane, thereby allowing the number of equations to be solved to be reduced by a factor of two. This is possible in these cases because the current distribution in one half of the structure is substantially the same as the current distribution in the other half of the structure that is on the other side of the plane of symmetry. Consequently, the current distribution in the entire structure may be calculated by solving a system of equations (e.g. matrix equation) with only half the number of unknowns to obtain the total inductance and resistance.

[0020] The applicant also recognizes conductors often have non-uniform current densities, such as when the skin effect is prominent at higher frequencies. This phenomenon is exploited by embodiments of the invention herein by reducing the number of equations to be solved. This is accomplished by dividing the inductive circuit element into many individual sections, where the sections in the center are larger than the sections at the edges of the conductor where the current is more concentrated and variable due to factors such as skin effect and/or proximity effects.

[0021] The overall reduction in modeling time resulting from the inventive methods herein, while still providing very high accuracy, enables circuit element (device)modeling capability to be provided within the same tool as circuit simulation software without suffering long solution times.

[0022] Using embodiments of the invention herein a circuit designer may now investigate secondary effects that have been modeled previously only by modelers using different simulation tools outside the circuit design-simulation environment. For example, the effects of variable-width spiral inductors, the effect of placing an AC bias on the inside inductor lead, or on the outside inductor lead, may now be analyzed directly by the circuit designer. Another example is the effect of continuous vias between two layers of metal used in parallel.

[0023] Secondly, tuning (tuning is the process of adjusting parameter values to make the model agree with measurements of a RWPD) to a new process would be nearly, and in some cases, totally eliminated.

[0024] Model simulation time of a particular RWPD using an embodiment of the invention herein, was reduced from 1 hour to less than 3 seconds, an overall savings in computational time of >99.9%.

[0025] It is an object of embodiments of the present invention to provide a method of very quickly inverting an impedance matrix representative of an inductive element, or group of elements.

[0026] It is another object of embodiments of the present invention to provide a method of very quickly inverting an impedance matrix representative of an inductive element, where the method is embodied in a circuit element modeling tool.

[0027] It is another object of embodiments of the present invention to provide a method of very quickly inverting an impedance matrix representative of an inductive element where the method is a modified and shortened version of Strassens's method.

[0028] It is another object of embodiments of the present invention to provide a method of very quickly inverting an impedance matrix representative of an inductive element, where the method is embodied in a circuit simulation tool.

[0029] It is another object of embodiments of the present invention to provide a circuit simulation tool that aids an operator in modeling an inductive circuit element, and further, aids an operator in simulating a circuit using the inventive numerical model.

[0030] This and other advantages and uses of the invention herein will be apparent to one of ordinary skill in the art upon reading the teaching herein.

BRIEF DESCRIPTION OF THE DRAWINGS

[0031]FIG. 1 shows two of many embodiments of inductive elements suitable for modeling and how inductive elements are discretized into smaller, individual filaments in accordance with embodiments by the invention herein.

[0032]FIG. 2 shows how a plane of symmetry is used to reduce the number of equations to be solved in accordance with the invention herein.

[0033]FIG. 3 shows one method of using variable size filaments to reduce the number of equations to be solved in accordance with embodiments of the invention herein.

[0034]FIG. 4 shows alternate embodiments of the invention of FIGS. 1 and 3.

[0035]FIG. 5 shows how an impedance matrix is inverted in accordance with the invention herein.

[0036]FIG. 5A shows an alternate embodiment of the invention for inverting an impedance matrix.

[0037]FIG. 6 shows how embodiments of the present invention may be embodied in a CAD system.

[0038]FIG. 7 shows how embodiments of the present invention may be implemented as a software module for modeling circuit elements that may be executed on the system of FIG. 6.

[0039]FIG. 8 shows how embodiments of the present invention may be implemented as a software module as part of a circuit simulation program that may be executed on the system of FIG. 6.

DETAILED DESCRIPTION OF THE INVENTION

[0040] In the following detailed description of the embodiments, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. It is to be understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the present invention.

[0041] Some portions of the detailed descriptions which follow are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like. It should be born in mind, however, that all of these and similar terms are associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussions, it is appreciated that throughout the present invention, discussions utilizing terms such as processing, computing, calculating, determining, displaying, or the like refer to the action and processes of a computer system or similar electronic computing device that manipulates and transforms data represented as physical quantities within the computer registers and memories into data similarly represented as physical quantities within the computer system memories or registers.

[0042] Inductors, such as the two non-limiting types, 2, and 4 shown in FIG. 1, are suitable candidates to be modeled using embodiments of the invention herein. Inductor 2 (or alternatively, inductor 4) is first numerically discretized into 1 or more individual segments. Referring to the example in FIG. 1, inductor 2 is discretized into a plurality of segments, only some of which are shown at 6, 8, and 10. The segments, such as segment 6, may be further defined into even smaller segments as shown at 12, 14, and 16. Alternatively, a single segment 7 may represent more than one section as shown in FIG. 4, or the entire inductor 2 or 4. The invention herein does not place restrictions on how and where segments may be defined on inductor 2.

[0043] Each segment, e.g. segment 12, is further divided into a plurality of longitudinal filaments 18 spanning the length of the segment 12 as shown in FIG. 1. An equivalent circuit model 22 for each filament, e.g. filament 20, is defined. A term associated with model 22 that may also be included in constructing an impedance matrix in accordance with embodiments of the invention herein is mutual inductance 23 coupling some or all of filament pairs an example of which is shown by models 21 and 22, where model 21 is representative of another one of filaments 18.

[0044] Inductor 2 is discretized into N_(seg) segments and N_(fil) filaments. Normally, this discretization has higher resolution than is shown in FIG. 1, with the number of filaments 18 often being as many as 5000 or more. Generally speaking, the more filaments, the more accurate the model as is known in the art. Considerations that influence the choice of the number of filaments used include current distribution in the RWPD, frequency of operation, device geometry, computational time etc.

[0045] Series resistance R, series inductance L and mutual inductances M shown at 22 in FIG. 1 are calculated, in addition to other parameters, perhaps including current and current density. This involves the solution of a circuit formulation requiring the inversion of an N_(fil)-by-N_(fil) complex matrix, which dominates total computation time.

[0046] Since the computation time to invert a large, nonsparse matrix is approximately proportional to the cube of its size, much time can be saved by finding and using techniques that simply reduce the number of filaments 18, and hence equations, to be solved. Embodiments of the inventive method herein reduces the number of filaments 18, and hence the unknowns by recognizing that a plane of symmetry 24 exists along a horizontal plane of inductor 2 as shown in FIG. 2.

[0047] For example, as shown in FIG. 2, symmetry about a horizontal plane 24 drawn through the center of at least segment 12 exists because the current distribution in the upper half 26 of segment 12 is essentially the same as the inverted current distribution in the lower half 28 of segment 12. Further, each filament above the horizontal plane 24 has the same current as its “partner” filament below the plane (e.g. 29, 30). Therefore there are actually half as many unknowns as filaments. This realization allows reduction of the matrix size by a factor of 2. Both conceptually and numerically, it is easiest to consider each filament pair above and below horizontal plane 24, for example, filaments 29 and 30, as a single filament.

[0048] The presence of a ground plane/die attach/paddle (not shown) may break this symmetry slightly. The effect of a paddle on inductance may be significant, but it is still small enough that the symmetry assumption is valid. This is apparent in the way that the image effect is calculated: For each filament pair 29,30, the mutual inductance of one filament to the other's image in the paddle is subtracted from the non-image mutual inductance. To maintain the symmetry in this calculation, it is sufficient to replace the vertical distance between any filament and any image filament by twice the average paddle distance (or wafer thickness). Since this distance is much larger than the metal thickness, the approximation represents a small fraction of the total effect of the paddle on inductance. For a large inductor with a 250 um span, 250 um above the paddle, the image typically reduces the total inductance by ˜2%.

[0049] An additional time saving technique of the inventive method herein is to grade the widths (cross-sectional area) of filaments 18 such that smaller filaments 20 are at the surfaces of the segments (where current densities are larger and more variable), and larger filaments 31 are located toward and/or at the center (see FIGS. 3 and 4). This allows N_(fil) to be reduced by approximately a factor of 4 (depending on how the grading is performed) corresponding to an approximately 64-fold increase in speed.

[0050] A necessary step when modeling inductor 2 is the inversion of a filament impedance matrix, Z^(f), obtained by explicitly writing the matrix equations for inductor 2 (after segmentation and “filamentation”) using circuit model 22, and mutual inductance terms 23, as its real and imaginary parts, yielding a 2N_(fil)×2N_(fil) matrix: $\begin{matrix} {Z^{f} = \begin{bmatrix} R^{f} & {{- \omega}\quad L^{f}} \\ {\omega \quad L^{f}} & R^{f} \end{bmatrix}} & \lbrack 1\rbrack \end{matrix}$

[0051] Where R^(f) is a diagonal filament resistance submatrix, L^(f) is a filament inductance submatrix, and ω is radian frequency. L^(f) is constructed from well known formulas as is known in the art. Note, the resistance, inductance, and mutual inductance terms of model 22 are elements of the submatrices R^(t) and L^(t) respectively, where “f” means filament. The submatrix elements occupy positions in the impedance matrix as denoted by conventional matrix notation a₁₁, a₁₂, a₂₁, and a₂₂.

[0052] The filament impedance matrix Z^(f) is neither symmetric nor positive-definite. Consequently, in order to directly and reliably invert Z^(f), a full-pivoting technique costing (2*N_(fil))³ operations would be required. However, according to the inventive method herein, the inverse of matrix Z^(f) may be constructed from submatrices using a modification of a method proposed by Volker Strassen (Press, William, et. al, “Numerical Recipes”, Cambridge University Press, 1986, reprinted [twice] 1987, Chapter 2.11, pages 74-76) incorporated herein by reference.

[0053] For convenience, Strassen's method is reproduced:

[0054] Defining: $\begin{matrix} {A = {{\begin{bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{bmatrix}\quad {and}\text{:}\quad A^{- 1}} = \begin{bmatrix} c_{11} & c_{12} \\ c_{21} & c_{22} \end{bmatrix}}} & \quad \end{matrix}$

[0055] where A is a general matrix, and A⁻¹ is the inverse of A.

[0056] Strassen devised the following eleven-step method:

[0057] Step 1: K₁=inverse (a₁₁)

[0058] Step 2: K₂=a₂₁×K₁

[0059] Step 3: K₃=K₁×a₁₂

[0060] Step 4: K₄=a₂₁×K₃

[0061] Step 5: K₅=K₄−a₂₂

[0062] Step 6: K₆=inverse (K₅)

[0063] Step 7: C₁₂=K₃×K₆

[0064] Step 8: C₂₁=K₆×K₂

[0065] Step 9: K₇=K₃×C₂₁

[0066] Step 10: c₁₁=K₁−K₇

[0067] Step 11: C₂₂=−K₆

[0068] Where the “inverse” operation indicates reciprocal if the a's and/or c's are scalars. However, “inverse” means matrix inversion if the a's and/or c's are matrices. The symbol “x” indicates multiplication.

[0069] Strassen's method has not found wide spread use because it is a more complicated process than other commonly used methods such as Gaussian elimination. Strassen's method requires more software and computational overhead, and simply does not save significant time for practical sized matrices.

[0070] An inventive concept of embodiments of the present invention is the recognition that the impedance matrix Z^(f) for inductive circuit element 2 (and inductive elements in general) has certain unique characteristics (described infra) that in turn allow Strassen's method of inverting a matrix to be beneficially applied to the impedance matrix Z^(f) in a way that results in a dramatic savings in time. Further, the applicant also recognizes that not all of Strassen's method need be applied to matrix Z^(f), resulting in an even more dramatic savings in computational time.

Inventive Method Step A

[0071] Note, when applying Strassen's method to equation [1], Z^(f), the following equalities apply:

a ₁₁ =a ₂₂ =R ^(f) , a ₁₂ =−ωL ^(f) , a ₂₁ =ωL ^(f)

[0072] Strassen 1. K₁=Inverse (a₁₁):

[0073] Invert Submatrix R^(f): ${K_{1} = \frac{1}{R^{f}}},$

[0074] a diagonal submatrix.

[0075] Note this step requires fewer operations than Strassen's method applied to a general case matrix because R is diagonal.

[0076] Strassen 3. K₃=K₁×a₁₂:

[0077] Matrix Multiply ${\frac{1}{R^{f}}\left( {- 1} \right)\omega \quad L^{f}} = K_{3}$

[0078] Note this step requires fewer operations than Strassen's method applied to a general case matrix due to the diagonality of $\frac{1}{R^{f}}.$

[0079] Strassen 4. K₄=a₂₁×K₃:

[0080] Matrix Multiply ${\omega \quad L^{f}\frac{1}{R^{f}}\left( {{- \omega}\quad L^{f}} \right)} = K_{4}$

[0081] Note this step requires fewer operations than Strassen's method applied to a general case matrix because the resulting matrix K₄ is symmetric about the diagonal. Ergo, only the diagonal and all terms either above or below the diagonal need be calculated.

[0082] Strassen 5. K₅=K₄−a₂₂:

[0083] Matrix Subtract: $\begin{matrix} {{{\left\lbrack {\omega \quad L^{f}\frac{1}{R^{f}}\left( {{- \omega}\quad L^{f}} \right)} \right\rbrack - R^{f}}\quad \overset{yields}{\rightarrow}\quad {{{- \omega^{2}}L^{f}\frac{1}{R^{f}}L^{f}} - R^{f}}} = K_{5}} & \lbrack 2\rbrack \end{matrix}$

[0084] (The expression on the left may be replaced with the simplified version on the right)

[0085] Note this step requires fewer operations than Strassen's method applied to a general case matrix.

[0086] Apply Strassen 6. K₆=Inverse (K₅), to [2] yielding: $\begin{matrix} {M_{1}^{f} = {\left\lbrack {{{- \omega^{2}}L^{f}\frac{1}{R^{f}}L^{f}} - R^{f}} \right\rbrack^{- 1} = K_{6}}} & \lbrack 3\rbrack \end{matrix}$

[0087] and c₂₂=−K₆

[0088] It can be shown that:

[0089] c₁₁=c₂₂, and therefore $c_{11} = {c_{22} = {{- K_{6}} = \left\lbrack {{\omega^{2}L^{f}\frac{1}{R^{f}}L^{f}} + R^{f}} \right\rbrack^{- 1}}}$

[0090] Note this step requires fewer operations than Strassen's method applied to a general case matrix because the matrix K₅ is symmetric and positive definite allowing a special matrix inversion routine to be used that takes advantage of these properties.

[0091] Further, M₁ ^(f) is determined by inverting a symmetric, positive-definite matrix half the size of Z^(f), in lieu of inverting Z^(f) directly, which, is neither symmetric nor positive-definite.

Inventive Method Step B

[0092] Apply Strassen 7. c₁₂=K₃×K₆, yielding: $\begin{matrix} {{c_{12}\text{:}\quad M_{2}^{f}} = {\omega \frac{1}{R^{f}}L^{f}M_{1}^{f}}} & \lbrack 4\rbrack \end{matrix}$

[0093] It can be shown that, c₂₁=(−c₁₂)

[0094] Note this step requires fewer operations than Strassen's method applied to a general case matrix because the resulting matrix is symmetric about the diagonal.

Inventive Method Step C

[0095] Construct[Z^(f)]⁻¹: $\left\lbrack Z^{f} \right\rbrack^{- 1} = {\begin{bmatrix} c_{11} & c_{12} \\ c_{21} & c_{22} \end{bmatrix} = \begin{bmatrix} M_{1}^{f} & {\omega \quad \frac{1}{R^{f}}\quad L^{f}\quad M_{1}^{f}} \\ {{- \omega}\quad \frac{1}{R^{f}}\quad L^{f}\quad M_{1}^{f}} & M_{1}^{f} \end{bmatrix}}$

[0096] An inventive concept of embodiments of the present invention is the recognition by the applicant that steps 2, and 8-11 of Strassen's method need not be applied due to the unique properties of the impedance matrix Z^(f) such that a₂₁=−a₁₂ and a₁₁=a₂₂ (alternatively, steps 3,7, and 9-11 may be omitted with the same result). Consequently, no additional operations are required using embodiments of the inventive method herein versus many additional operations for each of Strassen's extra steps that would have had to be performed.

[0097] Comparing dominant terms in expressions for the “number of operations” for both the invention herein and Strassen's method, it can be shown the inventive technique herein requires at least >80% fewer operations $\left( {\frac{4}{3}n^{3}\quad {{vs}.\quad 7}n^{3}} \right)$

[0098] than Strassen's method would be if applied on a general matrix and with one step of the Strassen hierarchy. This represents a significant savings in computational time when inverting the impedance matrix Z^(f).

[0099] Comparing this method to Gaussian elimination, the inversion of Z^(f) using this method is ˜6 times faster:

[0100] (4/3)n³ vs. (2n)³=8n³ operations.

[0101] Though embodiments of the inventive method herein involves two matrix multiplications, each matrix multiplication yields a symmetric matrix, of which only half the off-diagonal elements need be calculated.

[0102] The inventive method herein may be implemented in a software program used to model circuit elements and/or simulate circuit designs, one embodiment of which is shown in FIG. 5. Referring to FIG. 5, and after segmenting and discretizing inductor 2, an impedance matrix Z^(f) is constructed using equivalent circuit model 22 and including the mutual inductance terms between the filaments, as shown in 32 of FIG. 5. The inverse of matrix Z^(f) is constructed by solving the matrix equations in 34, 36, and 38 and then defining the submatrices for [Z^(f)]⁻¹ as shown in 40.

[0103] Embodiments of the inventive method herein are used to provide either a lumped-element model or an S-parameter block. An advantage of lumped-element models is that they can be faster in circuit simulation. Lumped-element models may also be created at a single frequency point and still be accurate enough at other frequencies to be useful in many circuit simulations.

[0104] S-parameter blocks can also be calculated over a range of frequencies. The calculation of S-parameter blocks may be slower than calculating a lumped-element model because the calculations have to be repeated at multiple frequencies. Additionally, S-parameter blocks may be slower in circuit simulations for the same reason, however, they are much more accurate over a wide range of frequencies. If solutions over a range of frequencies are desired for constructing S-parameter blocks, the $L^{f}\frac{1}{R^{f}}\quad L^{f}$

[0105] term may be saved and reused at each frequency to reduce the matrix multiplications from 2 to 1 per additional frequency step. Further, an overall increase in speed by a factor of 48/5 may be achieved by evaluating the $L^{f}\frac{1}{R^{f}}\quad L^{f}$

[0106] term outside the frequency loop.

[0107] It is understood, that although embodiments of the invention herein are described in the context of planar inductors, of which octagonal and square types are shown, embodiments of the invention are also suitable for use on transformers and other types of inductors and inductive elements (e.g. resistors, baluns, ununs, spiral inductors, symmetric inductors, on-chip interconnects, etc.) realized in different technologies such as, but not limited to planar and/or three dimensional, on-chip, on a printed circuit board, or otherwise. Embodiments of the present invention are also suitable for modeling antennas and/or antenna elements such as planar structures e.g. on-chip or Printed Circuit Board distributed structures, or non-planar structures such as wire antennas. Further, embodiments of the present invention are suitable for simulating a group of lines (e.g. conductive circuit traces)either on-chip, on a printed circuit board, or otherwise.

[0108] Embodiments of the present invention may be realized in a computer system such as, but not limited to, a CAD system 52 as shown in FIG. 6. System 52 includes CPU 58 for executing software (not shown) stored in memory 56. The software (or firmware) contains embodiments of the present invention. An interface 60 is provided to allow an operator to input data into the system 52, format results, and perform other well known functions associated with known modeling and/or simulation programs. A display 54 presents information to an operator such as prompts or choices to aid an operator in carrying out embodiments of the present invention, results and data formatting options as is known in the art. Display 54 may be integrated with interface 60.

[0109] Embodiments of the invention may be implemented in software for modeling circuit elements as shown is FIG. 7, either as a stand alone program, or as a module (or portion) of a larger program performing other functions (such as simulating circuits). Regardless of the independence of the overall program, the module is entered via entry path 62. Parameters are defined that will be used to create an element model in process 64 as described supra, with optional input 64 from an operator (perhaps in response to a prompt from the software module). The model is simulated, evaluated and presented in steps 70-80, optionally with operator control as shown. The module either terminates, or proceeds to the next module if the model is acceptable as shown in steps 82, 88, and 90. If the model is not acceptable, then an operator has options to tune the model (path 84 and step 68) or redefine the model via path 86.

[0110] Embodiments of the invention may also be implemented in software for simulating and making circuits as shown is FIG. 8, either as a stand alone program, or as a module (or portion) of a larger program performing other functions (such as system level analysis). Regardless of the independence of the overall program, the module is entered via entry path 92. Parameters are defined that will be used to create a circuit using element models (or creating a new element model at this point) in process 94 as described supra, with optional input 96 from an operator (perhaps in response to a prompt from the software module). The circuit is simulated, data evaluated and presented in steps 100-108, optionally with operator control as shown. The module either terminates if the circuit is acceptable as shown in steps 110 and 116, or if the circuit is not acceptable, then an operator has options to tune the circuit or element model (path 112 and step 98) or redefine the circuit (or element model) via path 114.

[0111] Embodiments of the invention herein have been described and illustrated using matrices and matrix operations with a specific order of matrix operations (e.g. matrix multiplication). Applicants note that the order in which some of the matrix multiplications are performed may be changed and still be within the spirit and scope of the invention. One such alternate embodiment of the invention herein is shown in FIG. 5A. Step 36′ of FIG. 5a and step 36 of FIG. 5 show different orders of multiplying submatrices M₁ ^(f), L^(f), ${and}\quad {\frac{1}{R^{f}}.}$

[0112] Changing the order of these terms in steps 36 & 36′ (and also in step 38, 38′) yields the same results for the model.

[0113] Similarly, carrying “minus signs” throughout the calculations that cancel in the final result is simply a trivially different way to describe the same method. For example, in the applicant's strict application of Strassen's Method, minus signs appear in the expression for K₅. Yet the formulation as shown in FIGS. 5 and 5A do not show any minus signs in step 34. The applicant recognized that the minus signs were extraneous for this particular problem. Whether a) “minus signs” are carried and then canceled, or b) dropped along the way as is understood in the art, either method yields the same result as long as it is consistently applied.

[0114] Further, applicant could have used a different convention and defined Z^(f) as follows: $Z^{f} = {\begin{bmatrix} R^{f} & {\omega \quad L^{f}} \\ {{- \omega}\quad L^{f}} & R^{f} \end{bmatrix}.}$

[0115] Though this matrix equation has its own set of solution steps, these are essentially solving the same problem in the same way. The differences being in the “minus signs”, with the approaches being the same.

[0116] It should be noted that in order to find the inverse of a matrix, it is not necessary to explicitly and completely construct the matrix to be inverted per se. It is however convenient and trivial, but not necessary. In embodiments of the invention herein, it is easy to construct submatrices ωL and R without actually performing the added step of constructing the impedance matrix per se from these submatrices.

[0117] Similarly, at the other end of the calculations, it not necessary to explicitly and completely construct the inverted impedance matrix per se from the matrices M1 and M2. However, it is convenient and trivial, but not necessary. It is possible, when implementing embodiments of the invention in simulation code (software) to continue with subsequent calculations using only M1 and M2 without actually constructing the inverted impedance matrix per se. Applicant notes that a portion of the novelty of embodiments of the invention is in how M1 and M2 are calculated from ωL and R. Descriptions of starting with the initial impedance matrix or constructing the final inverted impedance matrix per se, are used to help explain the nature of this invention, and should not be used to limit the scope of this invention in any way. Embodiments of the invention may or may not include the initial impedance matrix and/or the final fully constructed inverted impedance matrix per se.

[0118] It should be understood that the herein described methods and modules, or portions thereof, may be implemented in whole or in part in various embodiments in a machine readable medium comprising machine readable instructions for causing a computer to perform the methods or effect the operation of the modules. The computer programs run on a central processing unit out of main memory, and may be transferred to main memory from permanent storage via disk drive or CD-ROM drive when stored on removable media or via a network connection or modem connection when stored outside of the computer, or via other types of computer or machine readable media from which it can be read and utilized.

[0119] Such machine readable media may include software modules and computer programs. The computer programs may comprise multiple modules or objects to perform the described methods or the functions of the various apparatuses. The type of computer programming languages used to write the code may vary between procedural code type languages to object oriented languages. The files or objects need not have a one to one correspondence to the modules or method steps described depending on the desires of the programmer. Further, the method and apparatus may comprise combinations of software, hardware and firmware as is well known to those skilled in the art. 

I claim:
 1. A method of creating a model of an inductive element comprising: a) providing R and ωL where R is a diagonal filament resistance matrix, L is a filament inductance matrix and ω is radian frequency, and wherein R and L are representative of said inductive element; b) matrix multiplying the matrix inverse of R by ωL; c) matrix multiplying ωL by the result in step b); d) matrix invert the result of adding R to the result in c); e) matrix multiply the result in b) by the result in d); and f) optionally defining said model by setting a first submatrix c₁₁=the result in d), a second submatrix c₁₂=the result in e), a third submatrix c₂₁=−c₁₂, a fourth submatrix c₂₂=c₁₁, and wherein c₁₁, c₁₂, c₂₁, c₂₂ denote positions in said inverted matrix.
 2. A method of inverting an impedance matrix comprising: a) providing R, a diagonal filament resistance matrix, L a filament inductance matrix and ω a radian frequency, all elements of said impedance matrix; b) inverting R; c) matrix multiplying the result in b) by −ωL; d) matrix multiplying ωL by the result in c); e) subtracting said R from the result in d); f) inverting the matrix result of e); g) matrix multiplying the result in c) by the result in f); and h) providing submatrices of said inverse of said impedance matrix wherein a first submatrix=(the result in f), a second submatrix=(the result in g).
 3. A method of determining elements of an inverted matrix comprising: evaluating a first matrix equation M1=[(ω²L (1/R) L+R]⁻¹; evaluating a second matrix equation M2, wherein said matrix equation M2 comprises: M1; L; 1/R; and ω; providing said elements of said inverted matrix wherein said elements are submatricies of said inverted matrix wherein a first submatrix=M1, a second submatrix=M2, optionally a third submatrix=−M2, optionally a fourth submatrix=M1; and wherein 1/R is an inverse of a diagonal filament resistance matrix, L is a filament inductance matrix, ω is radian frequency and [ ]⁻¹ is matrix inversion.
 4. A method of inverting a matrix consisting of: evaluating a first matrix equation M1=[ω²L (1/R) L+R]⁻¹; evaluating a second matrix equation M2, wherein said matrix equation M2 comprises: M1; L; 1/R; and ω; optionally constructing an inverse of said matrix by setting a first submatrix c₁₁=M1, a second submatrix c₁₂=M2, a third submatrix c₂₁=−M2, a fourth submatrix c₂₂=M1; and wherein 1/R is an inverse of a diagonal filament resistance matrix, L is a filament inductance matrix, ω is radian frequency, [ ]⁻¹ is matrix inversion, and c₁₁, c₁₂, c₂₁, c₂₂ denote positions in said inverted matrix.
 5. A method of inverting an impedance matrix comprising: optionally providing said impedance matrix to be inverted, wherein said impedance matrix comprises: a first submatrix a₁₁=R; a second submatrix a₁₂=−ωL; a third submatrix a₂₁=ωL; a fourth submatrix a₂₂=R; and wherein R is a diagonal filament resistance matrix, L is a filament inductance matrix and ω is radian frequency; evaluating a matrix equation M1=[ω² L (1/R) L+R]⁻¹; evaluating a second matrix equation M2, wherein said matrix equation M2 comprises: M1; L; 1/R; and ω; and optionally constructing an inverse of said impedance matrix by setting a first submatrix of said inverse c₁₁=M1, a second submatrix of said inverse c₁₂=M2, a third submatrix of said inverse c₂₁=−M2, a fourth submatrix of said inverse c₂₂=M1.
 6. A method of modeling a circuit element comprising: a) discretizing said circuit element into at least one segment; b) dividing each of said at least one segments into a plurality of filaments; c) optionally providing an impedance matrix representative of said plurality of filaments, wherein said impedance matrix comprises: a first submatrix a₁₁=R; a second submatrix a₁₂=−ωL; a third submatrix a₂₁=ωL; a fourth submatrix a₂₂=R; and wherein R is a diagonal filament resistance matrix, L is a filament inductance matrix and ω is radian frequency; d) evaluating an equation M1=[ω² L (1/R) L+R]⁻¹; e) evaluating a second matrix equation M2, wherein said matrix equation M2 comprises M1, L, 1/R, and ω; and f) optionally constructing said inverse of said impedance matrix by setting a first submatrix of said inverse c₁₁=M1, a second submatrix of said inverse c₁₂=M2, a third submatrix of said inverse c₂₁=−M2, a fourth submatrix of said inverse c₂₂=M1.
 7. The method of claim 6 wherein (b) further comprises defining a plane of symmetry such that a first group of filaments are positioned above said plane of symmetry and a second group filaments are positioned below said first plane of symmetry; and providing a plurality of filament pairs, wherein each of said plurality of filament pairs comprises one filament in said first group of filaments and one filament in said second group of filaments.
 8. The method of claim 7 wherein said plane of symmetry is oriented horizontally.
 9. The method of claim 6 wherein (b) further comprises defining at least one of said plurality of filaments as having a cross-sectional area greater than remaining filaments within a same said segment.
 10. The method of claim 6 further comprising: selecting or defining an equivalent circuit model representative of at least one of said plurality of filaments before performing (c); and wherein (c) further comprises providing said impedance matrix that is representative of said equivalent circuit model and said plurality of filaments.
 11. A computer-readable medium containing code for modeling a circuit element and/or for simulating a circuit containing said circuit element, the code performing: evaluating a first matrix equation M1=[ω² L (1/R) L+R]⁻¹; evaluating a second matrix equation M2, wherein said matrix equation M2 comprises: M1; L; 1/R; and ω; optionally constructing a first matrix by setting a first submatrix a₁₁=M1, a second submatrix a₁₂=M2, a third submatrix a₂₁=−M2, a fourth submatrix a₂₂=M1; and wherein 1/R is the inverse of a diagonal filament resistance matrix, L is a filament inductance matrix, ω is radian frequency and [ ]⁻¹ is matrix inversion.
 12. A computer-readable medium containing code for modeling a circuit element and/or for simulating a circuit containing said circuit element, the code performing: a) aiding an operator in discretizing said circuit element into at least one segment; b) aiding an operator in dividing each of said at least one segments into a plurality of filaments; c) optionally providing an impedance matrix representative of said plurality of filaments, wherein said impedance matrix comprises: a first submatrix a₁₁=R; a second submatrix a₁₂=−ωL; a third submatrix a₂₁=ωL; a fourth submatrix a₂₂=R; and wherein R is a diagonal filament resistance matrix, L is a filament inductance matrix and ω is radian frequency; d) evaluating an equation M1=[ω² L (1/R) L+R]⁻¹; e) evaluating a second matrix equation M2, wherein said matrix equation M2 comprises M1, L, 1/R, and ω; and f) optionally constructing said inverse of said impedance matrix by setting a first submatrix of said inverse c₁₁=M1, a second submatrix of said inverse c₁₂=M2, a third submatrix of said inverse c₂₁=−M2, a fourth submatrix of said inverse c₂₂=M1.
 13. The computer-readable medium containing code of claim 12 wherein (b) further comprises aiding an operator in defining a plane of symmetry such that a first group of filaments are positioned above said plane of symmetry and a second group filaments are positioned below said first plane of symmetry; and providing a plurality of filament pairs, wherein each of said plurality of filament pairs comprises one filament in said first group of filaments and one filament in said second group of filaments.
 14. The method of claim 13 wherein said plane of symmetry is oriented horizontally.
 15. The computer-readable medium containing code of claim 12 wherein (b) further comprises aiding an operator in defining at least one of said plurality of filaments as having a cross-sectional area greater than remaining filaments within a same said segment.
 16. A system for modeling an inductive circuit element, and/or for simulating a circuit containing said inductive circuit element, said system comprising: software code; a computer having a CPU for executing said software code; memory for storing said software code and for storing results of calculations performed by said software code; an interface operative to 1) present information to an operator and 2) allow said operator to enter data into the system; and wherein said software code comprises a first portion operative to determine elements of an inverted matrix by: evaluating a first matrix equation M1=[ω² L (1/R) L+R]⁻¹; evaluating a second matrix equation M2, wherein said matrix equation M2 comprises M1, L, 1/R, and ω; optionally constructing a second matrix by setting a first submatrix c₁₁=M1, a second submatrix c₁₂=M2, a third submatrix c₂₁=−M2, a fourth submatrix c₂₂=M1; and wherein R is a diagonal filament resistance matrix, L is a filament inductance matrix, ω is radian frequency and [ ]⁻¹ is matrix inversion.
 17. The system of claim 16 wherein said software code further comprises a second portion operative to aid an operator in discretizing said inductive circuit element into at least one segment.
 18. The system of claim 17 wherein said software code further comprises a third portion operative to aid an operator in dividing each of said at least one segments into a plurality of filaments.
 19. The system of claim 18 wherein said software code further comprises a fourth portion operative to aid an operator in defining a horizontal plane of symmetry about said inductive circuit element such that a first group of filaments are positioned above said plane of symmetry and a second group of filaments are positioned below said first plane of symmetry; and providing a plurality of filament pairs, wherein each of said plurality of filament pairs comprises one filament in said first group of filaments and one filament in said second group of filaments.
 20. The system of claim 19 wherein said software code further comprises a fifth portion operative to aid an operator in defining at least one of said plurality of filaments as having a cross-sectional area greater than remaining filaments within a same said segment.
 21. A method of making a circuit comprising: providing an inductive circuit element operative to modify operation of said circuit; optionally providing an impedance matrix representative of said inductive element, said impedance matrix comprising: a first submatrix a₁₁R; a second submatrix a₁₂=−ωL; a third submatrix a₂₁=ωL; a fourth submatrix a₂₂=R; and wherein R is a diagonal filament resistance matrix, L is a filament inductance matrix and ω is radian frequency; inverting said impedance matrix or determining elements of an inverted matrix comprising: evaluating a first matrix equation M1=[ω² L (1/R) L+R]⁻¹; evaluating a second matrix equation M2, wherein said matrix equation M2 comprises M1, L, 1/R, and ω; and optionally constructing a first inverted matrix by setting a first submatrix c₁₁=M1, a second submatrix c₁₂=M2, a third submatrix c₂₁=−M2, a fourth submatrix c₂₂=M1; providing a first circuit design, wherein said circuit includes said inductive element; and making the circuit in accordance with said first circuit design.
 22. The method of claim 21 further comprising defining a plane of symmetry about said inductive circuit element such that a first group of filaments are positioned above said plane of symmetry and a second group filaments are positioned below said first plane of symmetry; and providing a plurality of filament pairs, wherein each of said plurality of filament pairs comprises one filament in said first group of filaments and one filament in said second group of filaments.
 23. The method of claim 22 wherein said plane of symmetry is oriented horizontally.
 24. The method of claim 23 further comprising defining at least one filament within said first or said second groups of filaments as having a cross-sectional area greater than remaining filaments within same said first or second groups.
 25. The method of claim 21 wherein said circuit comprises an antenna.
 26. A circuit comprising: an inductive circuit element operative to modify operation of said circuit; a first circuit design wherein said circuit includes said inductive element; and wherein a parameter of said inductive element has a value calculated by determining elements of an inverted matrix representative of said inductive circuit element comprising: evaluating a first matrix equation M1=[ω² L (1/R) L+R]⁻¹; evaluating a second matrix equation M2=ω M1 L(1/R); and optionally constructing a first inverted matrix by setting a first submatrix c₁₁=M1, a second submatrix c₁₂=M2, a third submatrix c₂₁=−M2, a fourth submatrix c₂₂=M1.
 27. A circuit of claim 26 wherein said circuit is an integrated circuit.
 28. A method of inverting a first matrix comprising: evaluating a first matrix equation M1, wherein evaluating said matrix equation M1 includes inverting said first matrix equation, said first matrix equation M1 comprising: L; 1/R; R; and ω²; evaluating a second matrix equation M2, wherein said matrix equation M2 comprises: M1; L; 1/R; and ω; optionally constructing said inverse of said first matrix by setting a first submatrix c₁₁=M1, a second submatrix c₁₂=M2, a third submatrix c₂₁=−M2, a fourth submatrix c₂₂=M1; and wherein R is a diagonal filament resistance matrix, L is a filament inductance matrix, ω is radian frequency, and c₁₁, c₁₂, c₂₁, c₂₂ denote positions in said inverted matrix.
 29. A method of creating a model of an inductive element comprising: a) providing R and ωL where R is a diagonal filament resistance matrix, L is a filament inductance matrix and ω is radian frequency, and wherein R and L are representative of said inductive element; b) matrix multiplying −ωL and the matrix inverse of R; c) matrix multiplying ωL and the result in step b); d) matrix invert the result of subtracting R from the result in c); e) matrix multiply the result in d) and the result in b); and f) optionally defining said model by setting a first submatrix c₁₁=−(the result in d), a second submatrix c₁₂=(the result in e), a third submatrix c₂₁=−c₁₂, a fourth submatrix c₂₂=c₁₁, and wherein c₁₁, c₁₂, c₂₁, c₂₂ denote positions in said inverted matrix.
 30. A method of inverting an impedance matrix comprising: a) optionally providing said impedance matrix to be inverted, wherein said impedance matrix comprises: a first submatrix a₁₁=R; a second submatrix a₁₂=−ωL; a third submatrix a₂₁=ωL; a fourth submatrix a₂₂=R; and wherein R is a diagonal filament resistance matrix, L is a filament inductance matrix and ω is radian frequency; b) inverting said first submatrix; c) matrix multiplying said second submatrix and the result in b); d) matrix multiplying said third submatrix and the result in c); e) subtracting said fourth submatrix from the result in d); f) inverting the result of e); g) matrix multiplying the result in f) and the result in c); and h) optionally constructing said inverse of said impedance matrix by setting a first submatrix c₁₁=−(the result in f), a second submatrix c₁₂=(the result in g), a third submatrix c₂₁=−c₁₂, a fourth submatrix c₂₂=c₁₁, and wherein c₁₁, c₁₂, c₂₁, c₂₂ denote positions in said inverted matrix.
 31. A circuit comprising: an inductive circuit element operative to modify operation of said circuit; a first circuit design wherein said circuit includes said inductive element; and wherein a parameter of said inductive element has a value calculated by determining elements of an inverted matrix representative of said inductive circuit element comprising: evaluating a first matrix equation M1=[ω² L (1/R) L+R]⁻¹; evaluating a second matrix equation M2=ω(1/R) L M1; and optionally constructing a first inverted matrix by setting a first submatrix c₁₁=M1, a second submatrix c₁₂=M2, a third submatrix c₂₁=−M2, a fourth submatrix c₂₂=M1.
 32. A circuit of claim 26 wherein said circuit is an integrated circuit.
 33. A method of modeling a circuit element, said method comprising: providing said circuit element to be modeled; dividing said circuit element into filaments; defining a horizontal plane of symmetry about said circuit element such that a first group of filaments are positioned above said plane of symmetry and a second group of filaments are positioned below said first plane of symmetry; and providing a plurality of filament pairs, wherein each of said plurality of filament pairs comprises one filament in said first group of filaments and one filament in said second group of filaments.
 34. The method of claim 33 further comprising: determining elements of an impedance matrix representative of said plurality of filament pairs; and determining elements of an inverse of said impedance matrix.
 35. The method of claim 33 further comprising: optionally providing an impedance matrix representative of said plurality of filament pairs, wherein said impedance matrix comprises: a first submatrix a₁₁=R; a second submatrix a₁₂=−ωL; a third submatrix a₂₁=ωL; a fourth submatrix a₂₂=R; and wherein R is a diagonal filament resistance matrix, L is a filament inductance matrix and ω is radian frequency; evaluating an equation M1=[ω² L (1/R) L+R]⁻¹; evaluating a second matrix equation M2, wherein said matrix equation M2 comprises: M1; L; 1/R; and ω; and optionally constructing an inverse of said impedance matrix by setting a first submatrix of said inverse c₁₁=M1, a second submatrix of said inverse c₁₂=M2, a third submatrix of said inverse c₂₁=−M2, a fourth submatrix of said inverse c₂₂=M1. 